package ranks.base;

import mapred.util.Configuration;

public class AppConfig extends Configuration<String, String> {

	public AppConfig(String... args) {
		super(null, "=", "\t");
		for (String arg : args) {
			this.add(arg);
		}
	}

	@Override
	protected String decodeKey(String strKey) {
		return strKey;
	}

	@Override
	protected String decodeValue(String strValue) {
		return strValue;
	}

	@Override
	protected boolean isValidKey(String key) {
		return (!key.isEmpty());
	}

	@Override
	protected String mergeValue(String key, String prev, String cur) {
		return cur;
	}

}
